home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / x-faq / part2 < prev    next >
Encoding:
Text File  |  1993-06-15  |  45.8 KB  |  985 lines

  1. Newsgroups: comp.windows.x,news.answers,comp.answers
  2. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!news.media.mit.edu!uhog.mit.edu!eddie.mit.edu!news.kei.com!sol.ctr.columbia.edu!math.ohio-state.edu!cs.utexas.edu!uunet!visual!dbl
  3. From: dbl@visual.com (David B. Lewis)
  4. Subject: comp.windows.x Frequently Asked Questions (FAQ) 2/5
  5. Message-ID: <C8o1Jx.Gr0@visual.com>
  6. Followup-To: poster
  7. Summary: useful information about the X Window System
  8. Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
  9. Organization: VISUAL, Inc.
  10. Date: Tue, 15 Jun 1993 13:59:56 GMT
  11. Approved: news-answers-request@MIT.Edu
  12. Expires: Sun, 18 Jul 1993 00:00:00 GMT
  13. Lines: 969
  14. Xref: senator-bedfellow.mit.edu comp.windows.x:69165 news.answers:9432 comp.answers:1011
  15.  
  16. Archive-name: x-faq/part2
  17. Last-modified: 1993/06/15
  18.  
  19. ----------------------------------------------------------------------
  20. Subject:  24)  How do I make a screendump or print my application?
  21.  
  22.     The xwd client in the X11 distributions can be used to select a window 
  23. or the background. It produces an XWD-format file of the image of that window. 
  24. The file can be post-processed into something useful or printed with the xpr 
  25. client and your local printing mechanism. You can use this command:
  26.         csh% sleep 10; xwd -root > output.xwd &
  27. and then spend 10 seconds or so setting up your screen; the entire current
  28. display will be saved into the file output.xwd. Note that xwd also has an
  29. undocumented (before R5) -id flag for specifying the window id on the 
  30. command-line. [There are also unofficial patches on export to xwd for 
  31. specifying the delay and the portion of the screen to capture.]
  32.  
  33.     Two publicly-available programs which allow interactive definition of 
  34. arbitrary portions of the display and built-in delays are asnap and xgrabsc.
  35. There are several versions of xgrabsc; version 2.2, available on export [8/92]
  36. is the most recent.
  37.     xsnap includes some asnap features and supersedes it; it also renders 
  38. XPM output [version unknown]. It is available on export or avahi.inria.fr;
  39. see xsnap-pl2.tar.Z.
  40.     A screen-dump and merge/edit program combining features of xwd and xpr
  41. is available from vernam.cs.uwm.edu as xdump1.0.tar.Z. Information: 
  42. soft-eng@cs.uwm.edu.
  43.     xprint, by Alberto Accomazzi (alberto@cfa.harvard.edu) is available
  44. from cfa0 (128.103.40.1) in xprint.export-2.1.tar.Z.
  45.  
  46.     To post-process the xwd output of some of these tools, you can use xpr,
  47. which is part of the X11 distribution. Also on several archives are xwd2ps
  48. and XtoPS, which produce Encapsulated PostScript with trimmings suitable for 
  49. use in presentations (see export.lcs.mit.edu:contrib/xwd2ps.tar.Z and
  50. contrib/ImageMagick.tar.Z). Also useful is the PBMPLUS package on many archive
  51. servers; and the Xim package contains Level 2 color PostScript output.
  52.  
  53.     The XV program can grab a portion of the X display, manipulate it, and
  54. save it in one of the available formats. ImageMagick has similar capabilities.
  55.  
  56.     Also: 
  57.  
  58.     Bristol Technology (info@bristol.com, 203-438-6969) offers Xprinter 
  59. 2.0, an Xlib API for PostScript and PCL printers; a demo is on ftp.uu.net
  60. in vendor/Bristol/Xprinter.
  61.  
  62.     ColorSoft 9619-459-8500) offers OPENprint package includes a screen-
  63. capture facility, image-processing, and support for PostScript and 
  64. non-PostScript printers.
  65.  
  66.     Some vendors' implementations of X (e.g. DECWindows and OpenWindows) 
  67. include session managers or other desktop programs which include "print portion
  68. of screen" or "take a snapshot" options. Some platforms also have tools which 
  69. can be used to grab the frame-buffer directly; the Sun systems, for example, 
  70. have a 'screendump' program which produces a Sun raster file. Some X terminals 
  71. have local screen-dump utilities to write PostScript to a local serial printer.
  72.  
  73.     Some vendors' implementations of lpr (e.g. Sony) include direct 
  74. support for printing xwd files, but you'll typically need some other package 
  75. to massage the output into a useful format which you can get to the printer.
  76.  
  77. ----------------------------------------------------------------------
  78. Subject:  25)  How do I make a color PostScript screendump of the X display?
  79.  
  80.     If you need color PostScript in particular, you can 
  81.     - grab the screen-image using a program which can produce color 
  82. PostScript, such as xgrabsc and xv 
  83.     - grab the screen-image using xwd and post-process xwd into color PS.
  84. You can do this using xwd2ps or the XtoPS program from the ImageMagick 
  85. distribution. The PBMPLUS package is also good for this, as is the Xim package.
  86.  
  87. ----------------------------------------------------------------------
  88. Subject:  26)  How do I make a screendump including the X cursor?
  89.  
  90.     This can't be done unless the X server has been extended. Consider 
  91. instead a system-dependent mechanism for, e.g.,  capturing the frame-buffer.
  92.  
  93. ----------------------------------------------------------------------
  94. Subject:  27)! How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
  95.  
  96.     The likeliest program is an incarnation of Jef Poskanzer's useful++ 
  97. Portable Bitmap Toolkit, which includes a number of programs for converting 
  98. among various image formats. It includes support for many types of bitmaps, 
  99. gray-scale images, and full-color images. PBMPLUS has been updated recently;
  100. the most recent version [12/91] is on export in contrib/pbmplus10dec91.tar.Z.
  101.     Another tool is San Diego Supercomputing Center's IMtools ('imconv' in 
  102. particular), which packages the functionality of PBM into a single binary.
  103. It's available anonymous ftp from sdsc.edu (132.249.20.22).
  104.  
  105.     Useful for viewing some image-formats is Jim Frost's xloadimage, a
  106. version of which is in the R4 directory contrib/clients/xloadimage; there are 
  107. later versions available, including contrib/xloadimage.3.03.tar.Z on export.  
  108. Graeme Gill's updates to an earlier version of xloadimage are also on export; 
  109. see xli.README and xli.tar.Z.uu; version 1.14 was released 2/93.
  110.  
  111.     xv (X Image Viewer), written by bradley@cis.upenn.edu (John Bradley), 
  112. can read and display pictures in Sun Raster, PGM, PBM, PPM, X11 bitmap, TIFF, 
  113. GIF and JPEG. It can manipulate on the images: adjust, color, intensity, 
  114. contrast, aspect ratio, crop). It can save images in all of the aforementioned 
  115. formats plus PostScript. It can grab a portion of the X display, manipulate on 
  116. it, and save it in one of the available formats. The program was updated 5/92; 
  117. see the file contrib/xv-2.21.tar.Z on export.lcs.mit.edu. Version 3.00 [5/93]
  118. is distributed as shareware.
  119.  
  120.     The Fuzzy Pixmap Manipulation, by Michael Mauldin <mlm@nl.cs.cmu.edu>.
  121. Conversion and manipulation package, similar to PBMPLUS.  Version 1.0 available
  122. via FTP as nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z, uunet.uu.net:pub/fbm.tar.Z, 
  123. and ucsd.edu:graphics/fbm.tar.Z.
  124.  
  125.     The Img Software Set, by Paul Raveling <raveling@venera.isi.edu>, reads
  126. and writes its own image format, displays on an X11 screen, and does some image
  127. manipulations.  Version 1.3 is available via FTP on expo.lcs.mit.edu as
  128. contrib/img_1.3.tar.Z, along with large collection of color images.
  129.  
  130.     The Utah RLE Toolkit is a conversion and manipulation package similar 
  131. to PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*, 
  132. weedeater.math.yale.edu:pub/urt-*, and freebie.engin.umich.edu:pub/urt-*.
  133.  
  134.     Xim, The X Image Manipulator, by Philip Thompson, does essential 
  135. interactive displaying, editing, filtering, and converting of images. There is 
  136. a version in the X11R4 contrib area; but a more recent version (using R4 and 
  137. Motif 1.1) is available from gis.mit.edu (18.80.1.118). Xim reads/writes gif, 
  138. xwd, xbm, tiff, rle, xim, (writes level 2 eps) and other formats and also has a
  139. library and command-line utilities for building your own applications.
  140.  
  141.     ImageMagick [2.3.2; 5/93] by cristy@dupont.com is an X11 package for
  142. display and interactive manipulation of images.  Includes tools for image
  143. conversion, annotation, compositing, animation, and creating montages.
  144. ImageMagick can read and write many of the more popular image formats (JPEG,
  145. TIFF, PNM, Postscript, ...).  Available via FTP as
  146. export.lcs.mit.edu:contrib/ImageMagick.tar.Z.
  147.  
  148.     xtiff is a tool for viewing a TIFF file in an X window.  It was written
  149. to handle as many different kinds of TIFF files as possible while remaining
  150. simple, portable and efficient.  xtiff illustrates some common problems
  151. with building pixmaps and using different visual classes.  It is distributed
  152. as part of Sam Leffler's libtiff package and it is also available on
  153. export.lcs.mit.edu, uunet.uu.net and comp.sources.x. [dbs@decwrl.dec.com,10/90]
  154. xtiff 2.0 was announced in 4/91; it includes Xlib and Xt versions.
  155.  
  156.     A version of Lee Iverson's (leei@McRCIM.McGill.EDU) image-viewing tool
  157. is available as contrib/vimage-0.9.3.tar.Z on export.lcs.mit.edu.  The package
  158. also includes an ImageViewPort widget and a FileDialog widget. [12/91;5/92]
  159.  
  160.     The Andrew User Interface System (version 5.2 and later) provides an
  161. image inset which can view many image formats.  Like all Andrew insets, an
  162. image can be incorporated in a a document or sent in email via the MIME
  163. standard. The following formats can be read:  Sunraster, GIF, Xbitmap,  TIFF,
  164. Xpixmap, JPEG, PBM, XWD.
  165.  
  166. [some material from Larry Carroll (larryc@poe.jpl.nasa.gov), 5/91]
  167.  
  168. ----------------------------------------------------------------------
  169. Subject:  28)  How can I change the titlebar of my xterm window?
  170.  
  171.     The solution involves sending an escape sequence to xterm which will
  172. cause it to update the property which the window manager relies upon for the
  173. string which appears in the window titlebar.
  174.     A solution is as easy as typing this in an xterm running a shell:
  175.         echo "ESC]2;TEXT^G"
  176. where ESC is the escape key, TEXT is the string you wish to have displayed,
  177. and ^G is a Control-G (the BEL character).
  178.  
  179.     Here is a more complicated csh alias which changes the titlebar to
  180. the current working directory when you change directories:
  181.         alias newcd 'cd \!*; echo -n ESC]2\;$cwd^G'
  182.  
  183.     The digit '2' in these strings indicates to xterm that it should 
  184. change only the title of the window; to change both the title and the name 
  185. used in the icon, use the digit '0' instead, and use '1' to change only the 
  186. icon name.
  187.  
  188.     Note: another way to do this, which prevents an incorrect display of
  189. the local directory if a modified `cd` is used in a subshell, is to wrap the
  190. escape sequences into the PS1 prompt itself.
  191.  
  192.     Note: on an IBM RS/6000 is may be necessary to begin the sequence with
  193. a ^V.
  194.  
  195. ----------------------------------------------------------------------
  196. Subject:  29)  Where can I find the xterm control sequences?
  197.  
  198. The best source of such information is in your R5 sources in the file 
  199. ctlseqs.ms; a PostScript version is in mit/hardcopy/clients/ctlseqs.PS.Z.
  200.  
  201. O'Reilly's Volume 3, the X User's Guide, includes an R5 version of the control 
  202. sequences; the standard volume will be available 3/93, and a Motif version of 
  203. the book is available now. The current (R4) guide includes an outdated version
  204. of the control sequences. [1/93]
  205.  
  206. Other good sources of information include the R4 version of that document
  207. and also the file in the R4 sources called mit/clients/xterm/ctlseq2.txt, a 
  208. compilation put together by Skip Montanaro (GE CR&D) listing the VT100 
  209. sequences. It dates from R3 but is fairly accurate.  A hardcopy version was 
  210. published in the December 1989 XNextEvent (the XUG newsletter).
  211.  
  212. In a pinch, a VT100 manual will do.
  213.  
  214. [last updated 10/91]
  215.  
  216. ----------------------------------------------------------------------
  217. Subject:  30)  How can I use characters above ASCII 127 in xterm ?
  218.  
  219.     In order to use special characters such as the o-umlaut, you need to 
  220. "stty pass8" but also to use a charcell ISO8859 font, such as 
  221.     XTerm*font:     -*-*-medium-r-normal-*-*-130-*-*-c-*-iso8859-1
  222.     XTerm*boldfont:    -*-*-bold-r-normal-*-*-130-*-*-c-*-iso8859-1
  223. [The family is intentionally unspecified in this example.]
  224.  
  225. In addition, you may want to set this in your shell:
  226.     setenv LC_CTYPE iso_8859_1
  227.  
  228.         For a given character above 127, you can determine the key to use with 
  229. the Alt modifier by finding the equivalent character below 127 (try using
  230. `man ascii`). For example, o-umlaut (v) is Alt-v and the section character (') 
  231. is Alt-'. 
  232.  
  233. [thanks to Greg Holmberg (greg%thirdi@uunet.uu.net) and Stephen Gildea 
  234. (gildea@expo.lcs.mit.edu); 6/92]
  235.  
  236. ----------------------------------------------------------------------
  237. Subject:  31)  Why are my xterm menus so small?
  238.  
  239.     You are probably setting the geometry small accidentally. If you give 
  240. a resource specification like this:
  241.         xterm*geometry: 80x24
  242. then you are asking for all widgets under xterm to have their geometry set to
  243. 80x24. For the main window, this is OK, as it uses characters for its size. 
  244. But its popup menus don't; they are in pixels and show up small. To set only
  245. the terminal widget to have the specified geometry, name it explicitly:
  246.         xterm*VT100.geometry: 80x24
  247.  
  248. ----------------------------------------------------------------------
  249. Subject:  32)  How can I print the current selection?
  250.  
  251.     You could paste it into an xterm after executing the lpr command. 
  252. However, a program by Richard Hesketh (rlh2@ukc.ac.uk) specifically for 
  253. manipulating the selection will help; e.g. 
  254.     % xselection PRIMARY | lpr
  255. finds the primary selection and prints it. This command can be placed in a 
  256. window-manager menu or in shell-scripts. xselection also permits the setting of
  257. the selection and other properties. A version is on export.
  258.     Also available is ria.ccs.uwo.ca:pub/xget_selection.tar.Z, which can be
  259. adapted to do this.
  260.  
  261. ----------------------------------------------------------------------
  262. Subject:  33)  How does Xt use environment variables in loading resources?
  263.  
  264.     You can use several environment variables to control how resources are 
  265. loaded for your Xt-based programs -- XFILESEARCHPATH, XUSERFILESEARCHPATH, and 
  266. XAPPLRESDIR.  These environment variables control where Xt looks for 
  267. application-defaults files as an application is initializing.  Xt loads at most
  268. one app-defaults file from the path defined in XFILESEARCHPATH and another from
  269. the path defined in XUSERFILESEARCHPATH.
  270.  
  271.     XAPPLRESDIR existed in R3 and before.  As of R4, the Xt developers
  272. added the more sophisticated *SEARCHPATH mechanism, but left XAPPLRESDIR in
  273. place to avoid breaking existing software.
  274.  
  275.     Set XFILESEARCHPATH if software is installed on your system in such a 
  276. way that app-defaults files appear in several different directory hierarchies.
  277. Suppose, for example, that you are running Sun's Open Windows, and you also 
  278. have some R4 X applications installed in /usr/lib/X11/app-defaults. You could 
  279. set a value like this for XFILESEARCHPATH, and it would cause Xt to look up 
  280. app-defaults files in both /usr/lib/X11 and /usr/openwin/lib (or wherever your
  281. OPENWINHOME is located):
  282.     setenv XFILESEARCHPATH /usr/lib/X11/%T/%N:$OPENWINHOME/lib/%T/%N
  283.  
  284. The value of this environment variable is a colon-separated list of pathnames.  The pathnames contain replacement characters as follows (see 
  285. XtResolvePathname()):
  286.  
  287.         %N      The value of the filename parameter, or the
  288.                 application's class name.
  289.         %T      The value of the file "type".  In this case, the
  290.                 literal string "app-defaults"
  291.         %C      customization resource (R5 only)
  292.         %S      Suffix.  None for app-defaults.
  293.         %L      Language, locale, and codeset (e.g. "ja_JP.EUC")
  294.         %l      Language part of %L  (e.g. "ja")
  295.         %t      The territory part of the display's language string
  296.         %c      The codeset part of the display's language string
  297.  
  298.     Let's take apart the example.  Suppose the application's class name is 
  299. "Myterm". Also, suppose Open Windows is installed in /usr/openwin. (Notice the 
  300. example omits locale-specific lookup.)
  301.     /usr/lib/X11/%T/%N        means /usr/lib/X11/app-defaults/Myterm
  302.     $OPENWINHOME/lib/%T/%N    means /usr/openwin/lib/app-defaults/Myterm
  303.  
  304.     As the application initializes, Xt tries to open both of the above 
  305. app-defaults files, in the order shown.  As soon as it finds one, it reads it 
  306. and uses it, and stops looking for others.  The effect of this path is to 
  307. search first in /usr/lib/X11, then in /usr/openwin.
  308.  
  309.     Let's consider another example. This time, let's set 
  310. XUSERFILESEARCHPATH so it looks for the file Myterm.ad in the current working 
  311. directory, then for Myterm in the directory ~/app-defaults.
  312.     setenv XUSERFILESEARCHPATH ./%N.ad:$HOME/app-defaults/%N
  313.  
  314.     The first path in the list expands to ./Myterm.ad.  The second expands 
  315. to $HOME/app-defaults/Myterm.  This is a convenient setting for debugging 
  316. because it follows the Imake convention of naming the app-defaults file 
  317. Myterm.ad in the application's source directory, so you can run the application
  318. from the directory in which you are working and still have the resources loaded
  319. properly.  NOTE: when looking for app-default files with XUSERFILESEARCHPATH,
  320. for some  bizarre reason, neither the type nor file suffix is defined so %T and
  321. %S are useless.
  322.  
  323.     With R5, there's another twist.  You may specify a customization 
  324. resource value.  For example, you might run the "myterm" application like this:
  325.     myterm -xrm "*customization: -color"
  326.  
  327.     If one of your pathname specifications had the value
  328. "/usr/lib/X11/%T/%N%C" then the expanded pathname would be
  329. "/usr/lib/X11/app-defaults/Myterm-color" because the %C substitution character 
  330. takes on the value of the customization resource.
  331.  
  332.     The default XFILESEARCHPATH, compiled into Xt, is:
  333.         /usr/lib/X11/%L/%T/%N%C:\  (R5)
  334.         /usr/lib/X11/%l/%T/%N%C:\  (R5)
  335.         /usr/lib/X11/%T/%N%C:\     (R5)
  336.         /usr/lib/X11/%L/%T/%N:\
  337.         /usr/lib/X11/%l/%T/%N:\
  338.         /usr/lib/X11/%T/%N
  339.  
  340.     (Note: some sites replace /usr/lib/X11 with a ProjectRoot in
  341. this batch of default settings.)
  342.  
  343.     The default XUSERFILESEARCHPATH, also compiled into Xt, is 
  344.         <root>/%L/%N%C:\  (R5)
  345.         <root>/%l/%N%C:\  (R5)
  346.         <root>/%N%C:\     (R5)
  347.         <root>/%L/%N:\
  348.         <root>/%l/%N:\
  349.         <root>/%N:
  350.  
  351.     <root> is either the value of XAPPLRESDIR or the user's home directory 
  352. if XAPPLRESDIR is not set.  If you set XUSERFILESEARCHPATH to some value other 
  353. than the default, Xt ignores XAPPLRESDIR altogether.
  354.  
  355.     Notice that the quick and dirty way of making your application find 
  356. your app-defaults file in your current working directory is to set XAPPLRESDIR 
  357. to ".", a single dot.  In R3, all this machinery worked differently; for R3 
  358. compatibilty, many people set their XAPPLRESDIR value to "./", a dot followed 
  359. by a slash.
  360.  
  361. [Thanks to Oliver Jones (oj@world.std.com); 2/93.]
  362.  
  363. ----------------------------------------------------------------------
  364. Subject:  34)  How to I have xdm put a picture behind the log-in window?
  365.  
  366. The answer lies in changing xdm's xrdb resource in the xdm-config file to run a
  367. program to change the background before loading the resources; for example, 
  368. your /usr/lib/X11/xdm/xdm-config file may add the line 
  369.     DisplayManager.0.authorize: false 
  370. to permit unrestricted access to the display before log-in (beware!) and also 
  371.     DisplayManager*xrdb:    /usr/lib/X11/xdm/new.xrdb
  372. where that file does something (for all connections) along the lines of:
  373.     #!/bin/sh
  374.     #comes in with arguments: -display :0 -load /usr/lib/X11/xdm/Xresources
  375.     /usr/bin/X11/xsetroot -display $2 -bitmap /usr/lib/X11/xdm/new.bitmap
  376.     /usr/bin/X11/xrdb $*
  377. Substitute xloadimage or xv for xsetroot, to taste.  Note that this is a 
  378. general hack that can be used to invoke a console window or any other client.
  379.  
  380. [Thanks to Jay Bourland (jayb@cauchy.stanford.edu), 9/91]
  381.  
  382. ----------------------------------------------------------------------
  383. Subject:  35)  Why isn't my PATH set when xdm runs my .xsession file?
  384.  
  385.     When xdm runs your .xsession it doesn't source your .cshrc or .login
  386. files. You can set the path explicitly as you normally could for any SH script;
  387. or you can place all environment-setting statements in a separate file and
  388. source it from both the .xsession file and your shell configuration file; or,
  389. if you set your PATH in your .cshrc file, the normal place, you can make your 
  390. .xsession have PATH set simply by making it a csh script, i.e. by starting
  391. your .xsession file off with "#!/bin/csh". 
  392.     If this doesn't work, also try starting off with:
  393.         #!/bin/sh
  394.         # Reset path:
  395.         PATH=`csh -c 'echo $PATH'` ; export PATH
  396.  
  397. ----------------------------------------------------------------------
  398. Subject:  36)  How do I keep my $DISPLAY when I rlogin to another machine?
  399.  
  400.     There are several ways to avoid having to do a "setenv DISPLAY ..."
  401. whenever you log in to another networked UNIX machine running X.
  402.     One solution is to use the clients/xrsh on the R5 contrib tape.  It 
  403. includes xrsh, a script to start an X application on remote machine, and
  404. xrlogin, a script to start a local xterm running rlogin to a remote machine.
  405. A more recent version is on export in xrsh-5.4.shar.
  406.     One solution is to use the xrlogin program from der Mouse
  407. (mouse@larry.mcrcim.mcgill.edu). You can ftp caveat-emptor versions from
  408. 132.206.1.1, in X/xrlogin.c and X/xrlogind.c. The program packages up $TERM and
  409. $DISPLAY into a single string, which is stuffed into $TERM.  rlogin then 
  410. propagates $TERM normally; your .cshrc on the remote machine should contain
  411.         eval `xrlogind`
  412. where xrlogind is a program that checks $TERM and if it is of the special 
  413. format it recognizes, unpacks it and spits out setenv and unsetenv commands to 
  414. recreate the environment variables. [11/90]
  415.  
  416.     In addition, if all you need to do is start a remote X process on 
  417. another host, and you find
  418.         rsh <HOST> -n /usr/bin/X11/xterm -display $DISPLAY 
  419. too simple (DISPLAY must have your real hostname), then this version of xrsh 
  420. can be used to start up remote X processes. The equivalent usage would be 
  421.         xrsh <HOST> xterm
  422.  
  423.   #! /bin/sh
  424.   # start an X11 process on another host
  425.   # Date: 8 Dec 88 06:29:34 GMT
  426.   # From: Chris Torek <chris@mimsy.umd.edu>
  427.   # rsh $host -n "setenv DISPLAY $DISPLAY; exec $@ </dev/null >&/dev/null"
  428.   #
  429.   # An improved version:
  430.   # rXcmd (suggested by John Robinson, jr@bbn.com)
  431.   #       (generalized for sh,ksh by Keith Boyer, keith@cis.ohio-state.edu)
  432.   #
  433.   # but they put the rcmd in ()'s which left zombies again.  This
  434.   # script combines the best of both.
  435.   
  436.   case $# in
  437.   [01])  echo "Usage: $0 host x-cmd [args...]";;
  438.   *)
  439.       case $SHELL in
  440.       *csh*)  host="$1"; shift
  441.           xhost "$host" > /dev/null
  442.           rsh "$host" -n \
  443.               "setenv TERM xterm; setenv DISPLAY `hostname`:0; \
  444.               exec $* </dev/null >& /dev/null" &
  445.           ;;
  446.       *sh)
  447.           host="$1"; shift
  448.           xhost "$host" > /dev/null
  449.           rsh "$host" -n \
  450.               "TERM=xterm export TERM; \
  451.               DISPLAY=`hostname`:0 export DISPLAY; \
  452.               LD_LIBRARY_PATH=/usr/X11/lib export LD_LIBRARY_PATH; \
  453.               PATH=\$PATH:/usr/X11/bin:/usr/bin/X11:/usr/local/bin; \
  454.             export PATH; \
  455.               exec $* < /dev/null > /dev/null 2>&1" &
  456.           ;;
  457.       esac
  458.       ;;
  459.   esac
  460.  
  461. ----------------------------------------------------------------------
  462. Subject:  37)  How can I design my own font?
  463.  
  464.     One way is to use the "bitmap" client or some other bitmap-editor (e.g.
  465. Sun's icon-editor tool, post-processed with pbmplus) to design the individual 
  466. characters and then to do some large amount of post-processing to concatenate 
  467. them into the BDF format. See Ollie Jones's article in the November 91 X 
  468. Journal for more information.
  469.     The R3 contrib/ area (in fonts/utils/ and in clients/xtroff) contained 
  470. a number of useful utilities, including some to convert between BDF font format
  471. and a simple character format which can be edited with any text editor.
  472.     An easier way is to use the "xfed" client to modify an existing font; a
  473. version is on the R4 or R5 X11R5 contrib tape in contrib/clients/xfed. Xfed is 
  474. available for anonymous ftp on ftp.Informatik.Uni-Dortmund.DE [129.217.64.63], 
  475. possibly as file /pub/windows/X/Diverse-X11-Sourcen/xfed.tar.Z. It can produce
  476. BDF-format fonts which can be compiled for a variety of X servers.
  477.     The xfedor client from Group Bull permits creation of bitmaps, cursors,
  478. XPM1 pixmaps, and fonts. Binaries for common machines are on avahi.inria.fr in
  479. /pub; in addition, the sources (an old Xlib implementation) have been placed 
  480. [5/91] in export:/contrib. 
  481.     If you are a MetaFont user you can use "mftobdf" from the SeeTeX
  482. distribution to convert PK, GF, and PXL fonts to BDF format; the distribution
  483. is on ftp.cs.colorado.edu and on export.lcs.mit.edu.
  484.     The GNU package fontutils-0.4.tar.Z on prep.ai.mit.edu includes xbfe,
  485. a font editor, and a number of utilities for massaging font formats.
  486.     The O'Reilly X Resource issue #2 contains an article on using these
  487. tools to modify a font.
  488.     Fonts can be resized with Hiroto Kagotani's bdfresize; a new version is
  489. in ftp.cs.titech.ac.jp:/X11/contrib.
  490.     bdffont in the Andrew User Interface System (versions 5.2.2 and higher)
  491. lets you create a font or edit an existing one.
  492.  
  493. ----------------------------------------------------------------------
  494. Subject:  38)  Why does adding a font to the server not work (sic)?
  495.  
  496.     After you have built the font using your system's font-compiler, 
  497. installed it in some directory, and run `mkfontdir` or your system's equivalent
  498. (e.g. bldfamily for OpenWindows) in that directory, be sure to use `xset +fp 
  499. $dir` to add that full path-name to the server's font-path, *or* if the 
  500. directory is already in the path, use `xset fp rehash` so that the new fonts in
  501. that directory are actually found; it is this last step that you're probably 
  502. leaving out. (You can also use `xset q` to make sure that that directory is in 
  503. the path.)
  504.     Sometimes your "xset +fp $dir" command fails with a BadValue error:
  505.         X Error of failed request:BadValue
  506.             (integer parameter out of range for operation)
  507.         Major opcode of failed request:  51 (X_SetFontPath)
  508.  
  509.     This means the X server cannot find or read your font directory, or
  510. that your directory does not look like a font directory to the server.  (The
  511. mention of an "integer parameter" in the message is spurious.)
  512.  
  513. -- Is the font directory you're specifying readable from the SERVER's file
  514.    system?  Remember, it's the server, not the client, which interprets your
  515.    font directory.  Trouble in this area is especially likely when you issue an
  516.    xset command with shell metacharacters in it (e.g. "xset +fp ~/myfonts") and
  517.    the server is an X terminal or managed by xdm.
  518.  
  519. -- Is the directory really a font directory?  If you're running an MIT server
  520.    (or most varieties of vendor servers) look in the directory for the file
  521.    "fonts.dir".  If you can't find that file, run mkfontdir(1).  (If you're
  522.    running OpenWindows, look for the file "Families.list".  If you can't find
  523.    it, run bldfamily(1).)
  524.  
  525. -- If you're in a site where some people run X11Rn servers and others run a
  526.    proprietary server with nonstandard font formats (OpenWindows, for
  527.    example), make sure the font directory is right for the server you're using.
  528.    Hint: if the directory contains .pcf and/or .snf files, it won't work for
  529.    Open Windows.  If the directory contains .ff and/or .fb files, it won't work
  530.    for X11Rn.
  531.  
  532. [thanks to der Mouse (mouse@larry.mcrcim.mcgill.edu) and to Oliver Jones 
  533. (oj@pictel.com); 7/92 ]
  534.  
  535. ----------------------------------------------------------------------
  536. Subject:  39)  How do I convert a ".snf" font back to ".bdf" font?
  537.  
  538.     A tool called "snftobdf 1.4" is part of the bdftools package, which is 
  539. available from export.lcs.mit.edu:contrib/bdftools.tar.Z and from 
  540. crl.nmsu.edu:pub/misc/bdftools.tar.Z.  [2/91]
  541.  
  542. ----------------------------------------------------------------------
  543. Subject:  40)  What is a general method of getting a font in usable format?
  544.  
  545.     der Mouse's getbdf is one solution; it connects to a server and 
  546. produces a .BDF file for any font the server is willing to let it.  It can be 
  547. used as an anything-to-BDF converter, but requires access to a server that can 
  548. understand the font file, thus is both more and less powerful than other tools 
  549. such as snftobdf. getbdf is on 132.206.1.1 in X/getbdf.c or available via mail 
  550. from mouse@larry.McRCIM.McGill.EDU. [5/91]
  551.     In addition, the R5 program "fstobdf" can produce bdf for any font that
  552. the R5 server has access to.
  553.  
  554. ----------------------------------------------------------------------
  555. Subject:  41)  How do I use DECwindows fonts on my non-DECwindows server?
  556.  
  557.     The DECwindows fonts typically don't exist on a non-DEC installation,
  558. but rewrite rules can be used to alias fonts used by DECwindows applications to
  559. standard MIT fonts of similar characteristics and size. Pick up the file 
  560. contrib/DECwindows_on_X11R4_font.aliases from export.lcs.mit.edu; this file is 
  561. for a standard MIT R4 server.  It can also serve as a starting point for 
  562. creating a similar aliases file for the Open Windows server or other servers 
  563. which do not use the MIT font scheme.
  564.  
  565. ----------------------------------------------------------------------
  566. Subject:  42)  How do I add ".bdf" fonts to my DECwindows server?
  567.  
  568.     The format of fonts preferred by DEC's X server is the ".pcf" format.
  569. You can produce this compiled format from the .bdf format by using DEC's dxfc
  570. font-compiler. Note that the DEC servers can also use raw .bdf fonts, with a
  571. performance hit.
  572.  
  573. ----------------------------------------------------------------------
  574. Subject:  43)  How can I set backgroundPixmap in a defaults file? (What is XPM?)
  575. I want to be able to do something like this:
  576.     xclock*backgroundPixmap:      /usr/include/X11/bitmaps/rootweave
  577.  
  578.     You can't do this. The backgroundPixmap resource is a pixmap of the 
  579. same depth as the screen, not a bitmap (which is a pixmap of depth 1). Because 
  580. of this, writing a generic String to Pixmap converter is impossible, since 
  581. there is no accepted convention for a file format for pixmaps. Therefore, 
  582. neither the X Toolkit or the Athena widget set define a String to Pixmap 
  583. converter, because there is no converter you cannot specify this value as a 
  584. resource.  The Athena widget set does define a String to Bitmap converter for 
  585. use in many of its widgets, however.
  586. [courtesy Chris D. Peterson (now kit@ics.com), 4/90]
  587.  
  588. However:
  589.     A specific converter which encapsulates much of the functionality of 
  590. the xloadimage package by Jim Frost was posted 12/90 by Sebastian Wangnick 
  591. (basti@unido.informatik.uni-dortmund.de); it permits loading of a number of 
  592. image formats as a pixmap.
  593.  
  594.     The leading general-purpose format for pixmaps is the XPM format used 
  595. by Groupe Bull in several of its programs, including the GWM window manager, by
  596. AT&T in its olpixmap editor, and by ICS in its interface builder. XPM 
  597. distribution, available on export as contrib/xpm.tar.Z, includes read/write 
  598. routines which can easily be adapted to converters by new widgets which want to
  599. allow specification of pixmap resources in the above manner.  See information
  600. on the xpm-talk mailing list above. XPM 3.0g was announced in 4/93 and is
  601. available from export.lcs.mit.edu and avahi.inria.fr; an older version is on 
  602. the R5 contrib tape. [A set of XPM icons collected by Anthony Thyssen 
  603. (anthony@kurango.cit.gu.edu.au) is on export in contrib/AIcons.]
  604.  
  605. ----------------------------------------------------------------------
  606. Subject:  44)  Why can't I override translations? Only the first item works.
  607.  
  608.     You probably have an extra space after the specification of the first 
  609. item, like this:
  610.     basic*text.translations:  #override \
  611.     Ctrl<Key>a:    beginning-of-line() \n\     
  612.     Ctrl<Key>e:    end-of-line()
  613.                           ^ extra space
  614. The newline after that space is ending the translation definition.
  615. [Thanks to Timothy J. Horton, 5/91]
  616.  
  617. ----------------------------------------------------------------------
  618. Subject:  45)  How can I have a clock show different timezones?
  619.  
  620.     One solution is xchron, in Volume 6 of comp.sources.x, which can show
  621. the time for timezones other than the local one. 
  622.     sunclock on export displays a world map with sun/dark areas and local 
  623. and UTC time.
  624.     The OpenWindows clock has a TimeZone property.
  625.     Modifications to the Xaw clock widget to support hour and minute 
  626. offsets    were posted by David Herron (david@twg.com).
  627.     A patch for the clock coming with the Xaw3D widgets introduces 
  628. resources hourOffset, minuteOffset, gmt; it can be found at
  629. ftp.wu-wien.ac.at:pub/src/X11/wafe/xaw3d.Clock.patch.
  630.  
  631.     Alternatively, you can probably set the timezone in the shell from
  632. which you invoke the xclock or oclock, or use a script similar to this:
  633.     #!/bin/sh
  634.     TZ=PST8PDT xclock -name "San_Luis_Obispo_CA" 2> /dev/null &
  635.     TZ=EST5EDT xclock -name "King_Of_Prussia_PA" 2> /dev/null &
  636.  
  637. ----------------------------------------------------------------------
  638. Subject:  46)  I have xmh, but it doesn't work. Where can I get MH?
  639.  
  640.     The xmh mail-reader requires the Rand MH mail/message handling system,
  641. which is not part of the UNIX software distribution for many machines. A list 
  642. of various ftp, uucp, e-mail and US-mail sites for both xmh and MH is given in 
  643. the monthly MH FAQ; one source is ics.uci.edu in the file pub/mh/mh-6.7.tar.Z.
  644. If you do not receive the comp.mail.mh newsgroup or the MH-users mailing list, 
  645. you can request a copy of the FAQ, which also includes a section on xmh, 
  646. by sending mail to mail-server@pit-manager.mit.edu containing the request
  647. "send usenet/news.answers/mh-faq".
  648.  
  649. ----------------------------------------------------------------------
  650. Subject:  47)  Why am I suddenly unable to connect to my Sun X server?
  651. After a seemingly random amount of time after the X server has been started, no
  652. other clients are able to connect to it.
  653.  
  654.     The default cron cleanup jobs supplied by Sun (for 4.0.3, at least)
  655. delete "old" (unreferenced) files from /tmp -- including /tmp/.X11-unix, which 
  656. contains the socket descriptor used by X. The solution is to add "! -type s" to
  657. the find exclusion in the cron job.
  658. [10/90]
  659.  
  660. ----------------------------------------------------------------------
  661. Subject:  48)  Why don't the R5 PEX demos work on my mono screen?
  662.  
  663. The R5 sample server implementation works only on color screens, sorry.
  664.  
  665. ----------------------------------------------------------------------
  666. Subject:  49)  How do I get my Sun Type-[45] keyboard fully supported by Xsun?
  667.  
  668. Many users wants the Num Lock key to light the Num Lock LED and have the 
  669. appropriate effect on the numeric keypad. The Xsun server as distributed by MIT
  670. doesn't do this but there are two different patches available.
  671.  
  672. The first patch is written by Jonathan Lemon and fixes the Num Lock related 
  673. problems. It is available from export.lcs.mit.edu in the file
  674. contrib/Xsun-R5.numlock_patch.Z .
  675.  
  676. The second is written by Martin Forssen and fixes the Num Lock and Compose keys
  677. and adds support for the different national keyboard layouts for Type-4 and 
  678. Type-5 keyboards. This patch is available from export.lcs.mit.edu in
  679. contrib/sunkbd1216-0314.tar.Z or via email from maf@dtek.chalmers.se.
  680.  
  681. [thanks to Martin Forssen (maf@dtek.chalmers.se or maf@math.chalmers.se), 8/92]
  682.  
  683. A set of patches by William Bailey (dbgwab@arco.com) was posted to newsgroups
  684. 11/92 to provide support for the Type-5 keyboard.
  685.  
  686. ----------------------------------------------------------------------
  687. Subject:  50)  How do I report bugs in X?
  688.  
  689.     Generally, report bugs you find to the organization that supplied you
  690. with the X Window System. If you received the R5 source distribution directly 
  691. from MIT, please read the file mit/bug-report for instructions. [Look in
  692. mit/doc/bugs/bug-report in R4.]
  693.  
  694. [Thanks to Stephen Gildea <gildea@expo.lcs.mit.edu>, 5/91; 12/91]
  695.  
  696. ----------------------------------------------------------------------
  697. Subject:  51)  Why do I get "Warning: Widget class version mismatch"?
  698.  
  699.     This error, which typically goes on to say, "widget 11004 vs. 
  700. intrinsics 11003" indicates that the header files you included when building 
  701. your program didn't match the header files that the Xt library you're linking 
  702. against was built with; check your -I include path and -L link-path to be sure.
  703.     However, the problem also occurs when linking against a version of the 
  704. X11R4 Xt library before patch 10; the version number was wrong. Some Sun OW
  705. systems, in particular, were shipped with the flawed version of the library, 
  706. and applications which link against the library typically give the warnings you
  707. have seen.
  708.  
  709. ----------------------------------------------------------------------
  710. Subject:  52)  Where can I find a dictionary server for xwebster?
  711.  
  712.     Webster's still owns the copyright to the on-line copies of Webster's
  713. Dictionary which are found at various (university) sites. After it became aware
  714. that these sites were then acting as servers for other sites running xwebster 
  715. and gnuemacs-webster, it asked that server sites close off external access.
  716.     [The NeXT machine apparently is also licensed to have the dictionary. A
  717. Webster daemon for NeXT machines is available from iuvax.cs.indiana.edu 
  718. (129.79.254.192) in "pub/webster/NeXT-2.0".]
  719.     Unless you want to get a legal on-line copy yourself or can find a site
  720. which can grant you access, you are probably out of luck. 
  721.  
  722.     However, if you are a legitimate site, you'll want to pick up the
  723. latest xwebster, as-is on export:contrib/xwebster.tar.Z [10/91]; the file 
  724. xwebster.README includes discussions of the availability, illegality, and 
  725. non-availability of dictionary servers. 
  726.     
  727. [courtesy steve@UMIACS.UMD.EDU (Steve Miller) and mayer@hplabs.hp.com (Niels 
  728. Mayer) 11/90]
  729.  
  730. ----------------------------------------------------------------------
  731. Subject:  53)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
  732. ----------------------------------------------------------------------
  733. Subject:  54)  Is X public-domain software?
  734.  
  735.     No. The X software is copyrighted by various institutions and is not 
  736. "public domain", which has a specific legal meaning. However, the X 
  737. distribution is available for free and can be redistributed without fee.
  738.     Contributed software, though, may be placed in the public domain by
  739. individual authors.
  740.  
  741. ----------------------------------------------------------------------
  742. Subject:  55)  How compatible are X11R3, R4, and R5? What changes are there?
  743.  
  744. The Release Notes for each MIT release of X11 specify the changes from the 
  745. previous release.  The X Consortium tries very hard to maintain compatibility 
  746. across releases.  In the few places where incompatible changes were necessary, 
  747. details are given in the Release Notes.  Each X11 distribution site on the 
  748. network also offers the Release Notes that go with the release they offer; the 
  749. file typically can be found at the top of the distribution tree.
  750.  
  751. [Stephen Gildea, 1/92]
  752.  
  753. The comp.windows.x.intrinsics FAQ-Xt lists Xt differences among these versions.
  754.  
  755. ----------------------------------------------------------------------
  756. Subject:  56)! Where can I get X11R5 (source and/or binaries)?
  757.  
  758. Information about MIT's distribution of the sources on 6250bpi and QIC-24 tape 
  759. and its distribution of hardcopy of the documents is available from 
  760. Software Center, Technology Licensing Office, Massachusetts Institute of 
  761. Technology, 28 Carleton Street, Room E32-300, Cambridge MA 02142-1324,
  762. phone: 617-258-8330.
  763.  
  764. You will need about 100Mb of disk space to hold all of Core and 140MB to hold
  765. the Contrib software donated by individuals and companies. 
  766.  
  767. PLEASE use a site that is close to you in the network.
  768.  
  769. Note that the RELEASE notes are generally available separately in the same
  770. directory; the notes list changes from previous versions of X and offer a
  771. guide to the distribution.
  772.  
  773.               North America anonymous FTP:
  774.  
  775. California    gatekeeper.dec.com        pub/X11/R5
  776.         16.1.0.2
  777. California    soda.berkeley.edu        pub/X11R5
  778.         128.32.131.179
  779. Indiana        mordred.cs.purdue.edu        pub/X11/R5
  780.         128.10.2.2
  781. Maryland    ftp.brl.mil            pub/X11R5
  782.         128.63.16.158
  783.         (good for MILNET sites)
  784. Massachusetts    crl.dec.com            pub/X11/R5
  785.         192.58.206.2
  786. Massachusetts    export.lcs.mit.edu        pub/R5
  787.         18.24.0.12
  788.         (crl.dec.com is better)
  789. Michigan    merit.edu            pub/X11R5
  790.         35.1.1.42
  791. Missouri    wuarchive.wustl.edu        packages/X11R5
  792.         128.252.135.4
  793. Montana        ftp.cs.montana.edu        pub/X.V11R5
  794.         192.31.215.202
  795. New Mexico    pprg.eece.unm.edu        pub/dist/X11R5
  796.         129.24.24.10
  797. New York    azure.acsu.buffalo.edu        pub/X11R5
  798.         128.205.7.6
  799. North Carolina    cs.duke.edu            dist/sources/X11R5
  800.         128.109.140.1
  801. Ohio        ftp.cis.ohio-state.edu        pub/X.V11R5
  802.         128.146.8.52
  803. Ontario        ftp.cs.utoronto.ca        pub/X11R5
  804.         128.100.1.105
  805. Washington DC    x11r5-a.uu.net            X/R5
  806.         192.48.96.12
  807. Washington DC    x11r5-b.uu.net            X/R5
  808.         137.39.1.12
  809.  
  810.            Europe/Middle East/Australia anonymous FTP:
  811.  
  812. Australia    munnari.oz.au            X.V11/R5
  813.         128.250.1.21
  814. Denmark        freja.diku.dk            pub/X11R5
  815.         129.142.96.1
  816. United Kingdom    src.doc.ic.ac.uk        graphics/X.V11R5
  817.         146.169.3.7
  818.         hpb.mcc.ac.uk            pub/X11r5
  819.         130.88.200.7
  820. Finland        nic.funet.fi            pub/X11/R5
  821.         128.214.6.100
  822. France        nuri.inria.fr            X/X11R5
  823.         128.93.1.26
  824. Germany        ftp.germany.eu.net        pub/X11/X11R5
  825.         192.76.144.129
  826. Israel        cs.huji.ac.il            pub/X11R5
  827.         132.65.6.5
  828. Italy        ghost.sm.dsi.unimi.it        pub/X11R5
  829.         149.132.2.1
  830. Netherlands    archive.eu.net            windows/X/R5
  831.         192.16.202.1
  832. Norway        ugle.unit.no            pub/X11R5
  833.         129.241.1.97
  834. Norway        nac.no                pub/X11R5
  835.         129.240.2.40
  836. Switzerland    nic.switch.ch            software/X11R5
  837.         130.59.1.40
  838.  
  839.              Japan anonymous FTP:
  840.  
  841. Kanagawa    sh.wide.ad.jp            X11R5
  842.         133.4.11.11
  843. Kwansai        ftp.ics.osaka-u.ac.jp        X11R5
  844.         133.1.12.30
  845. Kyushu        wnoc-fuk.wide.ad.jp        X11R5
  846.         133.4.14.3
  847. TISN        utsun.s.u-tokyo.ac.jp        X11R5
  848.         133.11.11.11
  849. Tokyo        kerr.iwanami.co.jp        X11R5
  850.         133.235.128.1
  851. Tokyo        scslwide.sony.co.jp        pub/X11R5
  852.         133.138.199.1
  853.  
  854.                 UUCP:
  855.  
  856. uunet        for UUNET customers        ~/X/R5
  857. decwrl        existing neighbors only        ~/pub/X11/R5
  858. osu-cis                        ~/X.V11R5
  859.         (not online until ~ 9 Sept)
  860. utai        existing neighbors only        ~/ftp/pub/X11R5
  861. hp4nl        Netherlands only        ~uucp/pub/windows/X/R5
  862.         
  863.  
  864.  
  865.                  NFS:
  866. Missouri    wuarchive.wustl.edu        /archive/packages/X11R5
  867.         128.252.135.4            mount point: /archive
  868.                             
  869.                  AFS:
  870. Pennsylvania    /afs/grand.central.org/pub/X11R5
  871.  
  872.              NIFTP (hhcp, cpf, fcp, ...):
  873. United Kingdom    uk.ac.ic.doc.src        <X.V11R5>
  874.         00000510200001
  875.         user "guest"
  876.  
  877.                   anon FTAM:
  878. United Kingdom    000005102000 (Janet)        X.V11R5
  879.         146.169.3.7 (Internet)
  880.         204334504108 (IXI)
  881.  
  882.                    ACSNet:
  883. Australia    munnari.oz (fetchfile)        X.V11/R5
  884.         Please fetch only one file
  885.         at a time, after checking
  886.         that a copy is not available
  887.         at a closer site.
  888.  
  889. [9/2/91; updated for contrib 10/91]
  890.  
  891. Anyone in Europe can get a copy of the MIT X.V11R5 distribution, including
  892. the core and contributed software and all official patches, free of charge.
  893. The only requirement is to agree to return the tapes, or equivalent new tapes.
  894. Only QIC and TK format cartridges can be provided.  Contact: Jamie Watson,
  895. Adasoft AG, Nesslerenweg 104, 3084 Wabern, Switzerland.
  896. Tel: +41 31 961.35.70 or +41 62 61.41.21; Fax: +41 62 61.41.30; jw@adasoft.ch.
  897.  
  898. UK sites can obtain X11 through the UKUUG Software Distribution Service, from 
  899. the Department of Computing, Imperial College, London, in several tape formats.
  900. You may also obtain the source via Janet (and therefore PSS) using Niftp (Host:
  901. uk.ac.ic.doc.src Name: guest Password: your_email_address).  Queries should be 
  902. directed to Lee McLoughlin, 071-589-5111#5037, or to info-server@doc.ic.ac.uk 
  903. or ukuug-soft@uk.ac.ic.doc (send a Subject line of "wanted". Also offered are 
  904. copies of comp.sources.x, the export.lcs.mit.edu contrib and doc areas and most
  905. other announced freely distributable packages. 
  906.  
  907. X11R5 and X11R4 source along with X11R5 contrib code, prebuilt X binaries for
  908. major platforms (R5.21), and source code examples from O'Reilly's books is
  909. available on an ISO-9660-format CD-ROM from O'Reilly & Associates. [6/92].
  910.  
  911. X11R5 source is available on ISO-9660-format CD-ROM for members of the Japan
  912. Unix Society from Hiroaki Obata, obata@jrd.dec.com.
  913.  
  914. X11R5 source along with GNU source, the comp.sources.x archives, and SPARC
  915. binaries is available on an ISO-9660-format CD-ROM from PDQ Software,
  916. 510-947-5996 (or Robert A. Bruce, rab@sprite.Berkeley.EDU).
  917.  
  918. X11R5 source is available from Automata Design Associates, +1 215-646-4894.
  919.  
  920. Various users' groups (e.g. SUG) offer X sources cheaply, typically on CD-ROM.
  921.  
  922. Source and binaries for the Andrew User Interface System 5.1 are available on
  923. CD-ROM.  The binaries are for four common systems and include XV11R5 binaries
  924. for three of them.  Information: info-andrew-requests@andrew.cmu.edu,
  925. 412-268-6710, fax 412-621-8081.  AUIS sources are also available via anonymous
  926. ftp from emsworth.andrew.cmu.edu (128.2.45.40) and in various formats from the
  927.         Andrew Consortium, 106 Smith Hall, Carnegie Mellon, 
  928.         5000 Forbes Ave., Pittsburgh PA 15213.
  929.  
  930. Binaries for X11R5, with shared libX11 and libXmu, for A/UX 2.0.1 are now 
  931. available from wuarchive.wustl.edu:/archive/systems/aux/X11R5.  Patches for 
  932. X11R5 compiled with gcc (but not shared libraries) are also available.
  933. [John L. Coolidge (coolidge@cs.uiuc.edu, 10/91)]
  934.  
  935. Binaries by Rich Kaul (kaul@ee.eng.ohio-state.edu) for the Sun386i running 
  936. SunOS 4.0.2 are available on dsinc.dsi.com (please only after-hours USA EST).
  937.  
  938. Binaries for the Sun386i are available from compaq.com (131.168.249.254) in
  939. pub/sun-386i/sources and from vernam.cs.uwm.edu (129.89.9.117).
  940.  
  941. A binary tree for the Next by Douglas Scott (doug@foxtrot.ccmrc.ucsb.edu) is on
  942. foxtrot.ccmrc.ucsb.edu; it is missing the server, though.
  943.  
  944. Binaries for the Sun386i are in vernam.cs.uwm.edu:/sun386i.
  945.  
  946. Binaries for the HP-PA are on hpcvaaz.cv.hp.com (15.255.72.15).
  947.  
  948. Binaries of X11R5.25 for Sun3/SunOS4.1.1 systems are on ftp.cad.gatech.edu
  949. as X11R5/X11R5p23.sun3.gcc.tar.z.
  950.  
  951. Source and binaries for HP-UX 8.*/9.0(S300/400/700/800) and Domain 10.4 (68K,
  952. DN 10K) are available through the Interworks Users Group; contact Carol Relph
  953. at 508-436-5046, fax 508-256-7169, or relph_c@apollo.hp.com.
  954.  
  955. Patches to X11R5 for Solaris 2.1 by Casper H.S. Dik (casper@fwi.uva.nl) et al
  956. are on export in contrib/{R5.SunOS5.patch.tar.Z,R5.SunOS5.patch.README}.
  957.  
  958. Patches to X11R5 for the Sun Type 5 keyboard and the keyboard NumLock are 
  959. available from William Bailey (dbgwab@arco.com).
  960.  
  961. X servers for color and monochrome NeXT machines is on foxtrot.ccmrc.ucsb.edu 
  962. in /pub/X11R5-MouseX.tar.Z. Source patches are expected to be on orst and 
  963. sonata as X11R5-source.patch.tar.Z.
  964.  
  965. Also:
  966.  
  967. Binaries are available from Unipalm (+44 954 211797, xtech@unipalm.co.uk), 
  968. probably for the Sun platforms. 
  969.  
  970. ----------------------------------------------------------------------
  971. Subject:  57)  Where can I get XDM's Wraphelp.c ?
  972.  
  973. X11R5 supports a DES-based form of authorization.  There are several
  974. implementations of the file Wraphelp.c, which may be missing from your
  975. distribution; one is on ftp.psy.uq.oz.au:/pub/X11R5.
  976.  
  977. ----------------------------------------------------------------------
  978.  
  979. David B. Lewis                     faq%craft@uunet.uu.net
  980.  
  981.         "Just the FAQs, ma'am." -- Joe Friday 
  982. -- 
  983. David B. Lewis        Temporarily at but not speaking for Visual, Inc.
  984. day: dbl@visual.com    evening: david%craft@uunet.uu.net
  985.